package com.iwhalecloud.citybrain.flow.platform.manager.domain.model;


/**
 * 自定义标题 表达式 枚举类
 *
 * @author: lzb
 * @date: 2021/11/11 17:04
 */
public enum FlowCustomNodeTitleEnum {
    DEPARTMENT_FULL_ID("@{departmentFullId}", "部门完整id"),
    DEPARTMENT_FULL_NAME("@{departmentFullName}", "部门全名"),
    DEPARTMENT_ID("@{departmentId}", "部门ID"),
    DEPARTMENT_NAME("@{departmentName}", "部门名称"),
    ORGANIZATION_ID("@{organizationId}", "组织ID"),
    ORGANIZATION_NAME("@{organizationName}", "组织名称"),
    USER_EMAIL("@{userEmail}", "用户电子邮件"),
    USER_LOGIN_NAME("@{userLoginName}", "用户登录名"),
    USER_NAME("@{userName}", "用户名"),
    USER_ID("@{userId}", "用户ID"),
    USER_MOBILE("@{userMobile}", "用户手机号"),
    UUID("@{uuid}", "uuid"),
    DATE_TIME("@{datetime}", "日期时间"),
    DATE("@{date}", "日期"),
    MONTH("@{month}", "月"),
    YEAR("@{year}", "年"),
    DAY("@{day}", "日"),
    WEEK("@{week}", "周"),
    QUARTER("@{quarter}", "季度");

    private String name;
    private String val;

    FlowCustomNodeTitleEnum(String name, String val) {
        this.name = name;
        this.val = val;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getVal() {
        return val;
    }

    public void setVal(String val) {
        this.val = val;
    }
}
